package io.jpress.core.flowable;

import io.jboot.Jboot;
import org.flowable.engine.impl.cfg.StandaloneProcessEngineConfiguration;

public class Configuration extends StandaloneProcessEngineConfiguration {

    public Configuration() {
        //达梦数据库
        if ("dm".equalsIgnoreCase(Jboot.configValue("jboot.datasource.type"))) {
            tablePrefixIsSchema = true;
            databaseTablePrefix = Jboot.configValue("jboot.datasource.user") + ".";
            databaseTypeMappings.put("DM DBMS", DATABASE_TYPE_ORACLE);
        }
    }

}
